<template>
  <div class="swiper-strategy swiper-zhibo">
    <h3>求职攻略</h3>
    <div class="swiper-container">
      <ul class="swiper-wrapper">
        <li class="swiper-slide">
          <div class="img-wrap">
            <img
              src="https://img.bosszhipin.com/beijin/cms/027569a9ddcbc345545e1b163869a92f26b1843edb5867970fca7c28c0d4ecae5eed1c76c878402da89f08f15ecee4b2.png"
              alt=""
              class="zhibo-img"
            />
          </div>
          <div class="content">
            <div class="title">【字节跳动】四面总结分享</div>
          </div>
        </li>
        <li class="swiper-slide">
          <div class="img-wrap">
            <img
              src="https://img.bosszhipin.com/beijin/cms/a35d875c246e13a30baea64e1a7600c026b1843edb5867970fca7c28c0d4ecaec6eeee71f3274248861ad84e54330017.png"
              alt=""
              class="zhibo-img"
            />
          </div>
          <div class="content">
            <div class="title">一年经验腾讯二面之旅</div>
          </div>
        </li>
        <li class="swiper-slide">
          <div class="img-wrap">
            <img
              src="https://img.bosszhipin.com/beijin/cms/f79ba98ccd8858db5d2f78352ab1d0c3.jpeg"
              alt=""
              class="zhibo-img"
            />
          </div>
          <div class="content">
            <div class="title">SpringBoot 系列之集成 Dubbo 示例教程</div>
          </div>
        </li>
        <li class="swiper-slide">
          <div class="img-wrap">
            <img
              src="https://img.bosszhipin.com/beijin/cms/d8cf93d01d5c431322811b9f463b274926b1843edb5867970fca7c28c0d4ecae87d207d7a1364f9c84cdaa89e656d70e.png"
              alt=""
              class="zhibo-img"
            />
          </div>
          <div class="content">
            <div class="title">阿里、网易、滴滴 Java 工程师社招面试经历</div>
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  name: "JobSearch",
};
</script>

<style lang="less" scoped>
.swiper-strategy {
  margin-top: 40px;

  h3 {
    font-size: 28px;
    font-weight: 600;
    color: #222;
    line-height: 40px;
    margin-bottom: 20px;
  }

  .swiper-container {
    width: 1200px;
    height: 214px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;

    .swiper-wrapper {
      display: flex;
      justify-content: space-between;
    }

    .swiper-slide {
      width: 284px;
      height: 214px;
      border-radius: 12px 12px;
      box-sizing: border-box;
      margin-right: 8px;
      cursor: pointer;

      .img-wrap {
        width: 284px;
        height: 160px;
        box-sizing: border-box;
        overflow: hidden;
        border-radius: 12px 12px 0 0;

        .zhibo-img {
          display: inline-block;
          border: none;
          width: 100%;
          height: 100%;
        }
      }

      .content {
        border-radius: 0 0 12px 12px;
        background: #fff;
        padding: 16px 20px;

        .title {
          font-size: 16px;
          font-weight: 500;
          color: #222;
          line-height: 22px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
      }
    }
  }
}
</style>